You use the gxPath structure to specify a single contour composed of straight lines and curves. For information about paths, see "Path Shapes" .
struct gxPath {
long vectors;
long controlBits[gxAnyNumber];
struct gxPoint vector[gxAnyNumber];
};
The array index gxAnyNumber indicates that the gxPath data structure is a variable-length structure--it can include any number of geometric points
Each bit in the array specified in the controlBits field indicates whether a particular point in the array specified by the vector field is on curve or off curve. A value of 0 indicates that the corresponding point is on curve and a value of 1 indicates that the corresponding point is off curve.
| Previous | Chapter Contents | Chapter Top | Next |